{include file="common/web_header" /}
    <title>详情页</title>
</head>
<body>
    <div class="head">
        <div class="head_top">
            <div class="limit">
              <div class="head_left">
                  <ul>
                      <li><a href="{:url('home/home/search')}">电脑首页</a></li>
                      <li><a href="#">手机首页</a></li>
                  </ul>
              </div>  
              <div class="head_right">
                  <ul>
                      <li><a href="javascript:;" onclick="changeurl();">换源</a></li>
                  </ul>
              </div>
            </div>
        </div>
        <div class="limit  head_one">
            <div class="food">
               <div class="logo">
                   <img src="__home__/Iconfont/logo.png" alt="">
               </div>
               <div class="search">
                   <form action="{:url('home/home/search_list')}" method="post">
                       <input type="text" class="logo_search" name="bookname" placeholder="作品名/作者">
                       <input type="submit" value="" class="button_search">
                   </form>  
               </div>
            </div>  
        </div>
      </div>
        <div>
            <div class="xiangqing_limit limit">
                <div class="jieshao left">
                    <img class="cover" style="width: 180px;height: 240px;" src="{$bookinfo['cover']}" alt="">
                </div>
                    <div class="xiangqing left">
                        <h2>{$bookinfo['title']}</h2>

                        <a href="">{$bookinfo['author']}</a>
                        <p>著</p>
                        <p>{$bookinfo['longIntro']}</p>
                        <em>{$bookinfo['wordCount']}</em>
                        <span>万字</span>
                        <em>|</em>
                        <span>{$listinfo['name']}</span>
                        <span>{$bookinfo['updated']}</span>
                    </div>
              
            </div>
        </div>
        <div>
            <div class="mulu_top limit">
                <a style="border-bottom: 3px solid red; color:red;" href="#">全部章节<span>{:count($listinfo['chapters'])}章</span></a>
            </div>
        </div>
        <div>
            <div class="mulu_down limit">
                <h2>正文卷</h2>
                <ul>
                  {volist name="listinfo['chapters']" id='item' key='k'}
                   
                    <li><a href="{:url('home/book/kanshu')}?sid={$sid}&k={$k}&url={$item['link']}" title="{$item['title']}">{:mb_substr($item['title'],0,15,'utf-8')}</a></li>
                    
                   
                  {/volist}
                </ul>
            </div>
        </div>
        <div class="limit foot">
            <em>
                本站所有小说为转载作品，所有章节均由网友上传，转载至本站只是为了宣传本书让更多读者欣赏。
            </em>
        </div>

</body>
</html>
<script type="text/javascript">
    function changeurl(){
    layer.open({
      type: 2,
      title: '选择节点',
      shadeClose: true,
      shade: false,
      maxmin: true, //开启最大化最小化按钮
      area: ['893px', '600px'],
      content: '{:url('home/book/changeurl')}?id={$bookinfo['_id']}&title={$bookinfo['title']}'
    });
    }
</script>